<?php

namespace App\Admin\Controllers;

use App\Http\Controllers\Controller;
use Encore\Admin\Controllers\Dashboard;
use Encore\Admin\Layout\Column;
use Encore\Admin\Layout\Content;
use Encore\Admin\Layout\Row;

class HomeController extends Controller
{
    public function index(Content $content)
    {
        return redirect('/admin/config/1/edit');
        return $content
            ->title('智慧党建平台')
            ->description('智慧党建平台')
//            ->row(Dashboard::title())
            ->row(function (Row $row) {

            });
    }
}
